<?php

namespace App\Trip\Plane\Interfaces\Result;

use App\Models\Plane\PlaneOrders\PlaneOrder;

interface ChangeApplyResultInterface
{
    /**
     * 供应商返回改签申请的结果
     * @return string
     */
    public function result(): string;

    public function isSuccess(): bool;

    public function failedReason(): string;

    public function subOrders(PlaneOrder $order): array;

    public function getOutOrderId(): string;
}